//
//  SchemeProductList.h
//  cutter
//
//  Created by mac on 16/3/15.
//  Copyright © 2016年 e360. All rights reserved.
//
#import "UITreeView.h"
#import "SchemeCustom.h"


@interface SchemeProductLeftCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *nameView;
@end


@interface SchemeProductCellCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UIButton *selectView;
@property (weak, nonatomic) IBOutlet UILabel *nameView;
@property (weak, nonatomic) IBOutlet UILabel *sizeView;
@property (weak, nonatomic) IBOutlet UILabel *priceView;
@property (weak, nonatomic) IBOutlet UILabel *countView;
@property (weak, nonatomic) IBOutlet UILabel *colorView;
@property (nonatomic, strong) UITreeNode *node;
@end


//里面的头
@interface SchemeProductHead : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *selectView;
@property (weak, nonatomic) IBOutlet UILabel *priceView;
@property (weak, nonatomic) IBOutlet UILabel *nameView;
@property (nonatomic, strong) UITreeNode *node;
@end

@interface SchemeProductList : UIViewController
@property (weak, nonatomic) IBOutlet UIButton *allView;
@property (weak, nonatomic) IBOutlet UILabel *countView;
@property (weak, nonatomic) IBOutlet UILabel *totalPrice;
@property (weak, nonatomic) IBOutlet UILabel *salePrice;
@property (weak, nonatomic) IBOutlet UIButton *cartView;
//
@property (weak, nonatomic) IBOutlet UITreeView *mainView;
@property (nonatomic, copy) blockEvent onSelected;
@property (nonatomic, assign) NSInteger index;
@property (atomic, strong) NSArray *data;
-(void)reloadData;
@end
